package com.up.stores.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author KLE1NBLUE&LackOxy
 * @since 2022-10-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Request对象", description="")
public class Request implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关联请求id")
    @TableId(value = "req_id", type = IdType.AUTO)
    private Integer reqId;

    @ApiModelProperty(value = "用户账号")
    private String norName;

    @ApiModelProperty(value = "管理员账号")
    private String admName;

    @ApiModelProperty(value = "申请理由")
    private String reason;

    @ApiModelProperty(value = "请求状态，0-待审批，1-驳回，2-通过")
    private Integer reqStatus;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "最后修改时间")
    private Date modifiedTime;

    @ApiModelProperty(value = "创建人")
    private String createdUser;

    @ApiModelProperty(value = "最后修改人")
    private String modifiedUser;


}
